import request from "@/utils/request";

//首页 轮播图
export function getBanner() {
	return request({
		url: "/banner",
		method: "GET"
	})
}

// 首页 热卖推荐
export function getHotRecommend(data) {
	return request({
		url: "/typeProducts",
		method: "GET",
		params: data
	})
}

export default {
	getBanner,
	getHotRecommend
}
